<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="<?php echo Helper::getClientFile('note/login', 'css')?>"  rel="stylesheet"/>
<title>登录</title>
</head>
<body>
    <div id="form">
    <?php $form=$this->beginWidget('CActiveForm', array(
    	'id'=>'login-form',
    	'enableAjaxValidation'=>true,
    )); ?>
    <div id="login">
    	<div class="row">
    		<?php echo $form->label($model,'username'); ?><br/>
    		<?php echo $form->textField($model,'username', array('class' => 'input')); ?>
    		<?php echo $form->error($model,'username'); ?>
    	</div>
    
    	<div class="row">
    		<?php echo $form->label($model,'password'); ?><br/>
    		<?php echo $form->passwordField($model,'password', array('class' => 'input')); ?>
    		<?php echo $form->error($model,'password'); ?>
    	</div>
    
    	<div class="row rememberMe">
    		<?php echo $form->checkBox($model,'rememberMe'); ?>
    		<?php echo $form->label($model,'rememberMe'); ?>
    		<?php echo $form->error($model,'rememberMe'); ?>
    	</div>
    
    	<div class="row buttons">
    		<?php echo CHtml::submitButton('Login'); ?>
    	</div>
    </div>
    <?php $this->endWidget(); ?>
    </div>
</body>
</html>
